package com.ruoyi.web.wx.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 社区员表 community_manager
 * 
 * @author ruoyi
 * @date 2019-08-27
 */
public class CommunityManager extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private String id;

	@Excel(name = "姓名")
	private String name;

	private String gender;
	@Excel(name = "手机号")
	private String phone;
	/**  */
	@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
	private String password;
	/** 管辖小区集合 */
	private List<String> village;
	/** 管辖小区ids */
	private String villages;
	/**  */
	private String status;
	private List<Address> villagess;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setGender(String gender) 
	{
		this.gender = gender;
	}

	public String getGender() 
	{
		return gender;
	}
	public void setPhone(String phone) 
	{
		this.phone = phone;
	}

	public String getPhone() 
	{
		return phone;
	}
	public void setPassword(String password) 
	{
		this.password = password;
	}

	public String getPassword() 
	{
		return password;
	}
	public void setVillages(String villages) 
	{
		this.villages = villages;
	}

	public String getVillages() 
	{
		return villages;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}

	public List<String> getVillage() {
		return village;
	}

	public void setVillage(List<String> village) {
		this.village = village;
	}

	public List<Address> getVillagess() {
		return villagess;
	}

	public void setVillagess(List<Address> villagess) {
		this.villagess = villagess;
	}

	@Override
	public String toString() {
		return "CommunityManager{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				", gender='" + gender + '\'' +
				", phone='" + phone + '\'' +
				", password='" + password + '\'' +
				", village=" + village +
				", villages='" + villages + '\'' +
				", status='" + status + '\'' +
				'}';
	}
}
